/*
 * @description:
 * @Author: lal
 * @Date: 2020-05-27 11:11:43
 * @LastEditors: lal
 * @LastEditTime: 2020-05-27 14:03:14
 */

const { ipcMain, dialog } = require("electron");

ipcMain.handle("open-error-dialog", (event, { title, content }) => {
  console.log(event);
  dialog.showErrorBox(title, content);
});
